﻿@model AfrikDotnetWebSite.Models.Show

@{
    ViewBag.Title = "Show Delete";
}

<h2 class="box">Show Delete</h2>
<p class="error box">@ViewBag.ErrorMessage</p>
<h3 class="box">Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Show</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Image)
    </div>
    <div class="display-field">
        <img src="~/static/img/shows/@Html.DisplayFor(model => model.Image)" style="width:200px" />
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Label)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Label)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Link)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Link)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IsActive)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsActive)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("« Back to Shows", "shows")
    </p>
}
